﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LuceneNetServices;
namespace MVCCompany.Controllers
{
    public class CreateIndexController : Controller
    {
        //
        // GET: /CreateIndex/

        public ActionResult Index()
        {
            return View();
        }
        public ActionResult Create()
        {
            Index index = new Index();
            index.CreateIndex();
            return Content("创建索引成功");
        }



    }
}
